<%@ page language="java" contentType="text/html; charset=utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<head>
    <title>成绩查询</title>
    <style type="text/css">
        table,thead,tbody,tfoot,th,td{border:1px dashed red;}
        body,html
        {
            height:80%;
            width:100%;
            margin:0; padding:0;}
         table
         {
             height:20%;
             width:80%;
             margin:40px auto;
             } 
          table tr {     height:40px;
             width:100%;
             background-color:Green;}
           table td{ 
                height: 50%; 
                width: 10%;
                background-color: red; 
            }
    </style>
</head>
<body style="background:#009393"> 
    <table> 
        <caption>考试成绩表</caption>
        <tr>
            <th>姓名</th>
            <th>学号</th> 
            <th>数据库</th> 
            <th>数字逻辑</th>
            <th>离散数学</th>
            <th>毛概</th>
            <th>英语</th> 
        </tr>
</table>        
  <div align="center" vertical-align="middle">

               <form name="form1" method="post" action="cjxs.jsp"> 
               学生(学号):<input type="text" name="xh"/><br/>
        <input type="submit" value="提交"/>
        <input type="reset" value="重置"/> 
        </form></div>  
        <div align="center" vertical-align="middle">
              <form name="form2" method="post" action="cjlr.jsp"> 
              教师(账号):<input type="text" name="zh"/><br/>
        <input type="submit" value="提交"/>
        <input type="reset" value="重置"/> 
        </form></div>
</body>
</html>  